<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div style="overflow-x: auto;">
	<table class="display" id="example">
		<thead>
			<tr>
				<th>应出</th>
				<th>实出</th>
				<th>矿工</th>
				<th>迟到</th>
				<th>早退</th>
				<th>未签到</th>
				<th>未签退</th>
				<th>加班</th>
				<th>请假</th>
			</tr>
		</thead>
		<tbody>
			<s:if
				test="#request.attendances == null || #request.attendances.size() <= 0">
				<tr class="gradeX">
					<td colspan="9">暂无数据</td>
				</tr>
			</s:if>
			<s:else>
				<s:iterator value="#request.attendances" var="a" status="sta">
					<s:if test="#sta.even">
						<tr class="gradeA">
					</s:if>
					<s:else>
						<tr class="gradeC">
					</s:else>
					<td>${a.washDays}</td>
					<td>${a.workDays}</td>
					<td>${a.absentDays}</td>
					<td>${a.delayTimes}</td>
					<td>${a.earlyTimes}</td>
					<td>${a.unCardTimes}</td>
					<td>${a.reCardTimes}</td>
					<td>${a.totalOvertimeDays}</td>
					<td>${a.totalLeaveDays}</td>
					</tr>
				</s:iterator>
			</s:else>
		</tbody>
	</table>
</div>
<p>
	<%@ include file="/WEB-INF/pages/common/main_orgtab_pager.jsp"%>
</p>